package com.example.study.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 111
 * @version 1.0
 * @description: TODO
 * @date 2022/8/22 10:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {
    private int id;
    private String path;
    private String icon;
    private String label;
    private String link;
    private String url;
    private String name;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List children=null;
}
